package com.xy.phone;

import com.xy.brand.Brand;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/11 19:04
 * @description
 */
public abstract class Phone {
    private Brand brand;

    public Phone(Brand brand) {
        this.brand = brand;
    }

    public void open(){
        this.brand.open();
    }

    public void close(){
        this.brand.close();
    }

    public void call() {
        this.brand.call();
    }
}
